//
//  PayHistoryAlertView.h
//  Wallets Manager
//
//  Created by MAC on 11/9/12.
//  Copyright (c) 2012 BKHN. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DataBaseAccess.h"
#import "folyAppDelegate.h"

@interface PayHistoryAlertView : UIViewController <UITextFieldDelegate> {
    int _payType;
    NSDate *today;
}

@property (weak, nonatomic) IBOutlet UITextField *inputTextField;
@property (weak, nonatomic) IBOutlet UIButton *cancelButton;
@property (weak, nonatomic) IBOutlet UIButton *payAllButton;
@property (weak, nonatomic) IBOutlet UIButton *addButton;
@property (weak, nonatomic) IBOutlet UILabel *targetLabel;
@property (weak, nonatomic) IBOutlet UILabel *completedLabel;
@property (weak, nonatomic) Loan *currentLoan;
@property (weak, nonatomic) Debt *currentDebt;
@property int payType;

- (IBAction)cancelButtonPressed:(id)sender;
- (IBAction)payAllButtonPressed:(id)sender;
- (IBAction)addButtonPressed:(id)sender;

@end
